<template>
  <div>
    <h4 class="weekend_title">周末去哪儿</h4>
      <div class="week_item" v-for="item in weekList">
        <img :src="item.images" alt="">
        <div>
        <h4>{{item.title}}</h4>
        <p>{{item.content}}</p>
        </div>
      </div>
  </div>
</template>

<script>
export default {
  props:["weekList"]
}
</script>

<style lang="less" scoped>
.weekend_title{
    background: #eee;
    line-height: 45/16rem;
    font-size: 14/16rem;
    text-indent: 10/16rem
  }
  .week_item{
    font-size: 14/16rem;
    margin-bottom: 5/16rem;
    img{
      display: block;
      width: 100%;
      margin-bottom:5/16rem 
    }
    div{
      padding:0 10/16rem;
      line-height: 20/16rem
    }
    p{
      font-size: 12/16rem;
      color: #999;
      margin-top:5/16rem;
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
    }
  }
</style>